<h2>Subscripción</h2>

<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name))  do |f|  %>
  <%= devise_error_messages! %>

 <p>
  <%= f.label :name,"Nombre" %><br />
  <%= f.text_field :name %></p>

 <p>
  <%= f.label :last_name,"Apellido" %><br />
  <%= f.text_field :last_name %></p>

 <p>
  <%= f.label :username,"Alias" %><br />
  <%= f.text_field :username %></p>
 <p>
  <%= f.label :rut %><br />
  <%= f.text_field :rut %><br /><i>(Con puntos y guión ej. 17.270.612-6)</i></p>
 
 <p><%= f.label :email %><br />
  <%= f.email_field :email %></p>

  <p><%= f.label :password,"Contraseña" %><br />
  <%= f.password_field :password %></p>

  <p><%= f.label :password_confirmation,"Confirmación de contraseña" %><br />
  <%= f.password_field :password_confirmation %></p>

  <p><%= f.submit "Suscribir" %></p>
<% end %>

<%= render :partial => "devise/shared/links" %>
